//
//  YTOrderDetailModel.h
//  YiTuDriverClient
//
//  Created by 石少庸 on 2017/6/21.
//  Copyright © 2017年 Yitu. All rights reserved.
//

#import <Foundation/Foundation.h>
@class
YTAdditionServiceModel,
YTPassengerModel,
YTCarTypeDetailModel,
YTDriverTakeDetailModel,
YTScheduleModel;

@interface YTOrderDetailModel : NSObject
@property (nonatomic, copy) NSString *bookingInfo;
@property (nonatomic, copy) NSString *feeInclude;
@property (nonatomic, copy) NSString *feeExclusive;
@property (nonatomic, copy) NSString *setAmount;
@property (nonatomic, copy) NSString *orderStatusStr;
@property (nonatomic, copy) NSString *payType;
@property (nonatomic, copy) NSString *acceptContent;
@property (nonatomic, copy) NSString *carTitle;
@property (nonatomic, copy) NSString *fromAddressName;
@property (nonatomic, copy) NSString *userId;
@property (nonatomic, copy) NSString *postalPayStatus;
@property (nonatomic, copy) NSString *staffNum;
@property (nonatomic, copy) NSString *buyCount;
@property (nonatomic, copy) NSString *childrenSeats;
@property (nonatomic, copy) NSString *overDistance;
@property (nonatomic, copy) NSString *overWaitTime;
@property (nonatomic, copy) NSString *arriveTime;
@property (nonatomic, copy) NSString *contactTime;
@property (nonatomic, copy) NSString *children;
@property (nonatomic, copy) NSString *orderStatus;
@property (nonatomic, copy) NSString *airportCode;
@property (nonatomic, copy) NSString *feeOverHour;
@property (nonatomic, assign) double toLongitude;
@property (nonatomic, copy) NSString *useTime;
@property (nonatomic, copy) NSString *freeDistance;
@property (nonatomic, copy) NSString *flightNum;
@property (nonatomic, copy) NSString *commentStatus;
@property (nonatomic, copy) NSString *remark;
@property (nonatomic, copy) NSString *estimatedTime;
@property (nonatomic, copy) NSString *couponName;
@property (nonatomic, copy) NSString *freeWaitTime;
@property (nonatomic, copy) NSString *freeTime;
@property (nonatomic, copy) NSString *toAddress;
@property (nonatomic, copy) NSString *partnerType;
@property (nonatomic, copy) NSString *driverAmount;
@property (nonatomic, copy) NSString *refundAmount;
@property (nonatomic, copy) NSString *orderSid;
@property (nonatomic, assign) double toLatitude;
@property (nonatomic, copy) NSString *pickupCardName;
@property (nonatomic, copy) NSString *overWaitTimeCost;
/** 101:接机，102：送机，103：市内包车,106:跨市包车,104:单次接送, 107：线路游，108：自由包车*/
@property (nonatomic, copy) NSString *secondType;
/** 0:待付款，1:已过期，2:已取消，3:付款中，4:已付款，5:已确认，6:已指派，7:已出车，8:侯客中
 9:已上车，10:待评价，11:退款中，12:已退款，20:已完成，30:待指派
 */
@property (nonatomic, assign) NSInteger status;
@property (nonatomic, copy) NSString *couponAmount;
@property (nonatomic, copy) NSArray<YTPassengerModel *> *passengerInfo;
@property (nonatomic, copy) NSArray<YTScheduleModel *> *schedule;
@property (nonatomic, copy) NSString *brandVersionName;
@property (nonatomic, copy) NSString *reachTime;
@property (nonatomic, copy) NSString *addTime;
@property (nonatomic, copy) NSString *adults;
@property (nonatomic, copy) NSString *secondTypeName;
@property (nonatomic, copy) NSString *brandId;
@property (nonatomic, copy) NSString *brandName;
@property (nonatomic, copy) NSString *fromCityId;
@property (nonatomic, copy) NSString *carTypeId;
@property (nonatomic, copy) NSString *cancelOrderRule;
@property (nonatomic, copy) NSString *overTime;
@property (nonatomic, copy) NSString *carCount;
@property (nonatomic, assign) double fromLongitude;
@property (nonatomic, copy) NSString *overTimeAmount;
@property (nonatomic, copy) NSString *carId;
@property (nonatomic, copy) NSString *toAddressName;
@property (nonatomic, copy) NSString *addUserId;
@property (nonatomic, copy) NSString *orderId;
@property (nonatomic, copy) NSString *feeOverWaitHour;
@property (nonatomic, assign) double fromLatitude;
@property (nonatomic, copy) NSString *carTypeName;
@property (nonatomic, copy) NSString *canEditUser;
@property (nonatomic, strong) YTDriverTakeDetailModel *driverTakeDetail;
@property (nonatomic, copy) NSString *estimatedDistance;
@property (nonatomic, copy) NSString *toCityId;
@property (nonatomic, copy) NSString *compensateAmount;
@property (nonatomic, strong) YTCarTypeDetailModel *carTypeDetail;
@property (nonatomic, copy) NSString *totalAmount;
@property (nonatomic, copy) NSString *driverFace;
@property (nonatomic, copy) NSString *overDistanceAmount;
@property (nonatomic, copy) NSString *driverPrice;
@property (nonatomic, copy) NSString *driverInfo;
@property (nonatomic, copy) NSString *carColor;
@property (nonatomic, copy) NSString *brandVersionId;
@property (nonatomic, copy) NSString *orderTime;
@property (nonatomic, copy) NSString *couponAmountDriver;
@property (nonatomic, copy) NSString *setOutTime;
@property (nonatomic, copy) NSString *routeType;
@property (nonatomic, copy) NSString *cancelReason;
@property (nonatomic, copy) NSString *fromAddress;
@property (nonatomic, copy) NSArray<YTAdditionServiceModel *> *additionalServiceList;
@property (nonatomic, copy) NSString *driverId;
@property (nonatomic, copy) NSString *productType;
@property (nonatomic, copy) NSString *useDuration;
@property (nonatomic, copy) NSString *carNumber;
@property (nonatomic, copy) NSString *canCancel;
@property (nonatomic, copy) NSString *luggage;
@property (nonatomic, copy) NSString *useTimeSH;
@property (nonatomic, copy) NSString *useTimeLocal;
@property (nonatomic, copy) NSString *productName;
@property (nonatomic, copy) NSString *childrenInfo;
@property (nonatomic, copy) NSString *nightPrice;
@property (nonatomic, copy) NSString *limitTime;
@property (nonatomic, copy) NSString *serviceTime;
/** 接到用户时间,空则未完成*/
@property (nonatomic, copy) NSString *getOnTime;
/** 车队下待指派订单指派有效期1800秒（30分钟），如：请在30分钟内完成订单，否则此订单将被释放*/
@property (nonatomic, assign) NSInteger waitAllotTime;
@end

@interface YTAdditionServiceModel : NSObject
@property (nonatomic, assign) NSInteger amount;
@property (nonatomic, assign) NSInteger number;
@property (nonatomic, copy) NSString *sid;
@property (nonatomic, copy) NSString *content;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, assign) NSInteger price;
@end

@interface YTPassengerModel : NSObject
@property (nonatomic, copy) NSString *userInfo;
@property (nonatomic, assign) NSInteger infoType;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *emergencyAreaCode;
@property (nonatomic, copy) NSString *phone;
@property (nonatomic, copy) NSString *emergencyPhone;
@property (nonatomic, copy) NSString *wechat;
@property (nonatomic, copy) NSString *overSeasPhone;
@property (nonatomic, assign) NSInteger overSeasAreaCode;
@property (nonatomic, copy) NSString *email;
@property (nonatomic, assign) NSInteger areaCode;
@property (nonatomic, copy) NSString *gender;
@end

@interface YTCarTypeDetailModel : NSObject
@property (nonatomic, copy) NSString *carBrands;
@property (nonatomic, copy) NSString *luggageDescription;
@property (nonatomic, copy) NSString *carTypeId;
@property (nonatomic, copy) NSString *imageUrl;
@property (nonatomic, copy) NSString *maxPassenger;
@property (nonatomic, copy) NSString *maxLuggage;
@property (nonatomic, copy) NSString *name;
@end

@interface YTDriverTakeDetailModel : NSObject
@property (nonatomic, copy) NSString *coupon;
@property (nonatomic, copy) NSString *orderInfoSring;
@property (nonatomic, copy) NSString *price;
@property (nonatomic, copy) NSString *point;
@property (nonatomic, copy) NSString *type;
@end

@interface YTScheduleModel : NSObject
@property (nonatomic, copy) NSString *content;
@property (nonatomic, copy) NSString *day;
@property (nonatomic, copy) NSString *locationAreaType;
@property (nonatomic, copy) NSString *fromCityId;
@property (nonatomic, copy) NSString *toLongitude;
@property (nonatomic, copy) NSString *toCityId;
@property (nonatomic, copy) NSString *fromLongitude;
@property (nonatomic, copy) NSString *fromLatitude;
@property (nonatomic, copy) NSString *toLatitude;
@end
